from api.login import Loginapi
from public1.public_assert import assert_success

class TestLoginAPI:
    token666 = None
    def test01_login_success(self):
        response = Loginapi().login()
        assert_success(response)
        TestLoginAPI.token666 = response.json().get("data")